package com.nengchuan.kbms.dfs.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.nengchuan.kbms.dfs.entity.dto.DataTagAttrOptionDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 标签属性VO
 * </p>
 *
 * @author abe
 * @since 2020-04-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "DataTagAttrVO对象", description = "标签属性VO对象")
public class DataTagAttrVO {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "元数据类型id")
    private Long tagId;

    @ApiModelProperty(value = "属性编号")
    private String attrNo;

    @ApiModelProperty(value = "属性名称")
    private String attrName;

    @ApiModelProperty(value = "属性类型（1:单选框，2:多选框，3:文本输入，4:文本域）")
    private String attrType;

    @ApiModelProperty(value = "属性默认值")
    private String attrValue;

    @ApiModelProperty(value = "是否必填（0：否；1：是）")
    private String requireFlag;

    @ApiModelProperty(value = "属性备注")
    private String remark;

    @ApiModelProperty(value = "排序", hidden = true)
    @JsonIgnore
    private Integer sortNo;

    @ApiModelProperty(value = "属性值选项", position = 90)
    private List<DataTagAttrOptionDTO> dataTagAttrOptionDTOList;

}
